<?php
/**
 * Created by PhpStorm.
 * User: Dave
 * Date: 2018/8/7
 * Time: 19:23
 */

ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';

use Biz\module\Packages\Logistics\CourierBird as sCourierBird;


$orderData = [
    'order_no' => 'O180806-69JLB3-4XKVXG5-2',
    'express_no' => '220591481422',
    'courierbird_code' => 'ZTO',
];

$result = sCourierBird::subscribe($orderData);
var_dump($result);die;